package dao

import "ozonTest/internal/domain/posts/model"

type PostDAO interface {
	CreatePost(post *model.Post) error
	GetPost(id int) (*model.Post, error)
	GetAllPosts() ([]model.Post, error)
	DeletePost(id int) error
	ChangeCommentsAllowed(postUUID int, commentsAllowed bool) error
}
